package com.love.marriage.personalImageryInfo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.love.marriage.common.interfaces.permission.DataPermission;
import com.love.marriage.personalImageryInfo.entity.PersonalImageryInfo;
import com.love.marriage.personalImageryInfo.vo.PersonalImageryInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * description:  个人形象表 mapper
 * author:       mybatisPlus
 * createDate:   2024-10-13 22:54:18
 * version:      1.0.0
 */
@Mapper
public interface PersonalImageryInfoMapper extends BaseMapper<PersonalImageryInfo> {

    @DataPermission(table = "personal_imagery_info_t")
    Page<PersonalImageryInfoVo> getPage(Page<PersonalImageryInfoVo> page, @Param("personalImageryInfoVo") PersonalImageryInfoVo personalImageryInfoVo);

    List<PersonalImageryInfoVo> getList(@Param("personalImageryInfoVo") PersonalImageryInfoVo personalImageryInfoVo);

    PersonalImageryInfoVo queryPersonalImageryInfo(@Param("id") Long id);
}
